home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1989 / Nov 89 / 0036-?Focus Logic-Nov89 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.7 KB  |  42 lines  |  [TEXT/GEOL]

  1. Item forwarded  by  A33          to A34
  2.  
  3. Item    4264873                         5-Nov-89        15:37
  4.  
  5. From:   D1220                           Vari-Lite, Andy Meldrum,PRT
  6.  
  7. To:     MACAPP.TECH$                    MacApp Technical
  8.  
  9. Sub:    ?Focus Logic
  10.  
  11. Problems in Focus Land ??
  12.  
  13. I have (just) installed BlackBox 1.5. ( Mostly to see what it does ). If I
  14. click on an empty dock, getting the Dialog 'What Would you like to install'
  15. every once in maybe 20 attempts I find that I can get dropped in to MacsBug
  16. (TMON actually..) with a message 'TWindow.Focus: Port is incorrect'. Carrying
  17. on lands me in the MacApp debugger with the message 'Port is incorrect'. This
  18. happens with both my App & the Calc Sample. I am running MF 6.1ß9, MacApp
  19. 2.0ß9, System 6.0.3 The offending object seems to be TWindow.
  20.  
  21. Its my guess that BlackBox is doing something sly in presenting this dialog, as
  22. the Apps Window Bar dims out, bit the rest of the Window is shown as normal.
  23.  
  24. My question is centered more on the Logic in TWindow.Focus. My reading of it is
  25. that if the App has debug on then I get a warning. If the App doesn't have
  26. debug on then MacApp pretends nothing has happened & doesn't make any attempt
  27. to fix it up. It seems to me ( knowing little in this case makes it easy for me
  28. to say this !! ) that if this error occurs in a non debug app we should try
  29. setting the Window's grafport as the active port ( or at least do something !!
  30. ).
  31.  
  32. I realize that this only occurs with a PD Init that may be causing the problem
  33. in the first place, but I get the feeling MacApp could do more when it runs in
  34. to this problem... I am certainly not advocating patching MacApp so it runs
  35. with every INIT in the world.
  36.  
  37. Just trying to help ( honest.. )
  38.  
  39. Andy.
  40.  
  41.  
  42.